home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2006 December / PCWDEC06.iso / Software / Trial / Paint Shop Pro XI / Data1.cab / _91D03F0BD0B04AFB8F8F993D0CDF013D < prev    next >
Encoding:
Text File  |  2006-08-04  |  815 b   |  28 lines

  1. from PSPApp import *
  2.  
  3. def ScriptProperties():
  4.     return {
  5.         'Author': u'Corel Corporation',
  6.         'Copyright': u'Copyright (c) 2004 Corel Corporation  All rights reserved.',
  7.         'Description': u'',
  8.         'Host': u'Paint Shop Pro 9',
  9.         'Host Version': u'9.00'
  10.         }
  11.  
  12. def Preset_UserDefinedFilter():
  13.     return {
  14.         'ApplyToRed': True, 
  15.         'Bias': 0, 
  16.         'ApplyToGreen': True, 
  17.         'Divisor': 1, 
  18.         'ApplyToGrey': False, 
  19.         'ApplyToBlue': True, 
  20.         'Kernel': ((0,0,0,0,0,0,0),(0,0,0,0,0,0,0),(0,0,-1,-1,-1,0,0),(0,0,0,0,0,0,0),(0,0,1,1,1,0,0),(0
  21.             ,0,0,0,0,0,0),(0,0,0,0,0,0,0))
  22.         }
  23.  
  24. def Do(Environment):
  25.     # UserDefinedFilter
  26.     App.Do( Environment, 'UserDefinedFilter',         Preset_UserDefinedFilter())
  27.